<!--
 * @Author: [wangll]
 * @Date: 2021-09-22 09:33:36
 * @LastEditors: [wangll]
 * @LastEditTime: 2021-09-23 11:59:04
 * @Description: 
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <!-- 1.在线引入 -->
  <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=972811d84f30f8e6f429f62d797c4e4b"></script> 
</head>
<body>
  <!-- 2.创建地图容器 -->
  <div id="container" style="height: 400px; width: 600px;"></div>
  <script>
    // 3.创建地图实例对象
     var map = new AMap.Map('container',{
        zoom:11,//级别
        center: [116.397428, 39.90923],//中心点坐标
        viewMode:'3D'//使用3D视图
    });
  </script>
</body>
</html>